<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>模拟用户登录与注册</title>
    </head>



<body>

<p style="font-family:楷体;font-size: 18px" align="center">使用springmvc模拟</p>
<form action="/login" method="post">
    <div align="center">
   <table style="font-family: 楷体;font-size: 18px">
       <tr>
           <td>用户名</td>
           <td><input type="text" name="username"/></td>
       </tr>

       <tr>
           <td>密码</td>
           <td><input type="password" name="password"/></td>
       </tr>

       <tr>
           <td colspan="2"><input type="submit" value="登录"/></td>

           <td><a href="/toregister"><input type="button" value="注册"/></a></td>
       </tr>

   </table>
    </div>
</form>



</body>
</html>